package com.hubei.car.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hubei.car.dto.req.PageCondition;
import com.hubei.car.entity.MsNews;
import com.hubei.car.swaggerParam.MsNewsQueryParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 资讯分类
 * @author huanghaisheng
 * @create 2019-11-28
 */
@Mapper
@Repository
public interface MsNewsMapper extends BaseMapper<MsNews> {
    /**
     * 翻页查询资讯分类列表
     */
    IPage<MsNews> queryMsNewsPage(Page page, @Param("msNewsQueryParam") MsNewsQueryParam msNewsQueryParam);
}
